WpMatomo\Ecommerce\Woocommerce B

Total Complexity 80
Dependencies 4
Dependents 1
Total lines 471
Lines of code 318
Logical lines of code 178
Comment lines 68
Methods 21
Properties 2

Methods 21

Method Rating Maintainability Complexity Lines of code
get_product_details()
A
45 13 39
on_order()
A
41 10 60
on_cart_updated()
A
43 10 45
maybe_track_order_complete()
S
64 6 9
on_order_status_change()
S
60 5 13
register_hooks()
S
48 3 34
get_product_categories()
S
57 4 17
save_order_metadata()
S
60 4 13
anonymise_orderid_in_url()
S
61 3 15
after_calculate_totals()
S
62 3 12
get_sku()
S
71 3 6
get_product_id()
S
67 3 9
on_product_view()
S
60 2 14
isOrderFromBackOffice()
S
77 2 3
get_order_meta()
S
66 2 8
get_order_id()
S
78 2 3
aioseo_add_to_cart_skip()
S
76 1 4
isWC3()
S
72 1 5
has_order_been_tracked_already()
S
80 1 3
set_order_been_tracked()
S
80 1 3
on_cart_updated_safe()
S
81 1 3